package com.is.add.mapper;

import com.is.add.model.Settlement;
import com.is.add.model.SettlementBase;
import com.is.add.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 结算单映射接口
 */
@Repository
public interface SettlementMapper extends MyMapper<Settlement> {
    List<SettlementBase> findSettlementData(Map<String,String> map);

    int mergeSettlement(@Param("settlementId") int settlementId);

}
